﻿@model Project_2._2.ViewModels.PasswordChange_ViewModels
@{
    ViewBag.Title = "Đổi Mật Khẩu";
    Layout = "~/Views/Shared/_UserLayoutPage2.cshtml";
}

<div class="ContentLeft-child">
    <div class="ContentRight-child-head">Đổi Mật Khẩu</div>
    <div class="ContentRight-child-logo"></div>
    <div class="ContentRight-child-body Box_sp" >
        
        @using(Html.BeginForm())
        {
            @Html.ValidationSummary( true);
            @Html.AntiForgeryToken();
        <table  style="padding:10px 0 15px 50px ; line-height:35px">
            <tr>
                <td class="align-right">@Html.LabelFor(m=>m.OldPassword) &nbsp;<span style="color:red">*</span></td>
                <td>
                    @Html.PasswordFor(m => m.OldPassword, new { @class="Textbox"})
                    @Html.ValidationMessageFor(m => m.OldPassword)
                </td>
            </tr>
            <tr>
                <td class="align-right">@Html.LabelFor(m=>m.NewPassword)&nbsp;<span style="color:red">*</span></td>
                <td>
                    @Html.PasswordFor(m => m.NewPassword, new { @class="Textbox"})
                    @Html.ValidationMessageFor(m => m.NewPassword)
                </td>
            </tr>
            <tr>
                <td class="align-right">@Html.LabelFor(m=>m.Con_New_Password)&nbsp;<span style="color:red">*</span></td>
                <td>
                    @Html.PasswordFor(m => m.Con_New_Password, new { @class="Textbox"})
                    @Html.ValidationMessageFor(m => m.Con_New_Password)
                </td>
            </tr>
            <tr>
                <td class="align-right">@Html.LabelFor(m=>m.captcha)&nbsp;<span style="color:red">*</span></td>
                <td>
                    @Html.TextBoxFor(m=>m.captcha, new { @class="Textbox", @style="width:80px"})
                    <img ID="Img3" alt="Captcha image" src="../Captcha/Captcha"  style=" margin-bottom:-10px; height:29px;border-radius:4px;" />
                    @Html.ValidationMessage("Captcha")
                </td>
            </tr>
            <tr>
                <td></td>
                <td>
                    <input type="submit" class="Button" value="Gửi Yêu cầu" />
                </td>
            </tr>

        </table>
        }
    </div>
</div>
